using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class DMS009Entity:AF_ORM.CORE.BaseEntity
    {
         public DMS009Entity()
         {
             tableName = "DMS009";


			 fieldInfos.Add(new FieldInfo("DMS009","ACTFLG","ACTFLG","string",1,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","COST","COST","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","CTDDTM","CTDDTM","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","CTDPGM","CTDPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","CTDUSR","CTDUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","CTDWKS","CTDWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","LSTMDF","LSTMDF","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","MDFPGM","MDFPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","MDFUSR","MDFUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","MDFWKS","MDFWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","PART_NO","PART_NO","string",20,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","QTY","QTY","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","REC_ISS_LINE_NO","REC_ISS_LINE_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","REC_ISS_NO","REC_ISS_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","REF_NO1","REF_NO1","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","REF_NO2","REF_NO2","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","REF_NO3","REF_NO3","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","REF_TRS_NO","REF_TRS_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","REMAIN_QTY","REMAIN_QTY","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","TRS_DAT","TRS_DAT","string",8,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","TRS_LINE_NO","TRS_LINE_NO","string",20,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","TRS_NO","TRS_NO","string",20,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","TRS_OPTR","TRS_OPTR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","TRS_TIM","TRS_TIM","string",6,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","TRS_TOTAL","TRS_TOTAL","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","TYPE","TYPE","string",20,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS009","WH_CODE","WH_CODE","string",20,true,false,false,false,"","",""));
         }
       //properties
                    
		 protected string m_ACTFLG;
		 protected double m_COST;
		 protected DateTime m_CTDDTM;
		 protected string m_CTDPGM;
		 protected string m_CTDUSR;
		 protected string m_CTDWKS;
		 protected DateTime m_LSTMDF;
		 protected string m_MDFPGM;
		 protected string m_MDFUSR;
		 protected string m_MDFWKS;
		 protected string m_PART_NO;
		 protected double m_QTY;
		 protected string m_REC_ISS_LINE_NO;
		 protected string m_REC_ISS_NO;
		 protected string m_REF_NO1;
		 protected string m_REF_NO2;
		 protected string m_REF_NO3;
		 protected string m_REF_TRS_NO;
		 protected double m_REMAIN_QTY;
		 protected string m_TRS_DAT;
		 protected string m_TRS_LINE_NO;
		 protected string m_TRS_NO;
		 protected string m_TRS_OPTR;
		 protected string m_TRS_TIM;
		 protected double m_TRS_TOTAL;
		 protected string m_TYPE;
		 protected string m_WH_CODE;

		 public string ACTFLG

          { 
                get { 
                    return m_ACTFLG;}

                set{m_ACTFLG=value;

                    GetField("ACTFLG").Set();
                    GetField("ACTFLG").IsNull=(value == null);           
                    }
          }
		 public double COST

          { 
                get { 
                    return m_COST;}

                set{m_COST=value;

                    GetField("COST").Set();
                    GetField("COST").IsNull=(value == null);           
                    }
          }
		 public DateTime CTDDTM

          { 
                get { 
                    return m_CTDDTM;}

                set{m_CTDDTM=value;

                    GetField("CTDDTM").Set();
                    GetField("CTDDTM").IsNull=(value == null);           
                    }
          }
		 public string CTDPGM

          { 
                get { 
                    return m_CTDPGM;}

                set{m_CTDPGM=value;

                    GetField("CTDPGM").Set();
                    GetField("CTDPGM").IsNull=(value == null);           
                    }
          }
		 public string CTDUSR

          { 
                get { 
                    return m_CTDUSR;}

                set{m_CTDUSR=value;

                    GetField("CTDUSR").Set();
                    GetField("CTDUSR").IsNull=(value == null);           
                    }
          }
		 public string CTDWKS

          { 
                get { 
                    return m_CTDWKS;}

                set{m_CTDWKS=value;

                    GetField("CTDWKS").Set();
                    GetField("CTDWKS").IsNull=(value == null);           
                    }
          }
		 public DateTime LSTMDF

          { 
                get { 
                    return m_LSTMDF;}

                set{m_LSTMDF=value;

                    GetField("LSTMDF").Set();
                    GetField("LSTMDF").IsNull=(value == null);           
                    }
          }
		 public string MDFPGM

          { 
                get { 
                    return m_MDFPGM;}

                set{m_MDFPGM=value;

                    GetField("MDFPGM").Set();
                    GetField("MDFPGM").IsNull=(value == null);           
                    }
          }
		 public string MDFUSR

          { 
                get { 
                    return m_MDFUSR;}

                set{m_MDFUSR=value;

                    GetField("MDFUSR").Set();
                    GetField("MDFUSR").IsNull=(value == null);           
                    }
          }
		 public string MDFWKS

          { 
                get { 
                    return m_MDFWKS;}

                set{m_MDFWKS=value;

                    GetField("MDFWKS").Set();
                    GetField("MDFWKS").IsNull=(value == null);           
                    }
          }
		 public string PART_NO

          { 
                get { 
                    return m_PART_NO;}

                set{m_PART_NO=value;

                    GetField("PART_NO").Set();
                    GetField("PART_NO").IsNull=(value == null);           
                    }
          }
		 public double QTY

          { 
                get { 
                    return m_QTY;}

                set{m_QTY=value;

                    GetField("QTY").Set();
                    GetField("QTY").IsNull=(value == null);           
                    }
          }
		 public string REC_ISS_LINE_NO

          { 
                get { 
                    return m_REC_ISS_LINE_NO;}

                set{m_REC_ISS_LINE_NO=value;

                    GetField("REC_ISS_LINE_NO").Set();
                    GetField("REC_ISS_LINE_NO").IsNull=(value == null);           
                    }
          }
		 public string REC_ISS_NO

          { 
                get { 
                    return m_REC_ISS_NO;}

                set{m_REC_ISS_NO=value;

                    GetField("REC_ISS_NO").Set();
                    GetField("REC_ISS_NO").IsNull=(value == null);           
                    }
          }
		 public string REF_NO1

          { 
                get { 
                    return m_REF_NO1;}

                set{m_REF_NO1=value;

                    GetField("REF_NO1").Set();
                    GetField("REF_NO1").IsNull=(value == null);           
                    }
          }
		 public string REF_NO2

          { 
                get { 
                    return m_REF_NO2;}

                set{m_REF_NO2=value;

                    GetField("REF_NO2").Set();
                    GetField("REF_NO2").IsNull=(value == null);           
                    }
          }
		 public string REF_NO3

          { 
                get { 
                    return m_REF_NO3;}

                set{m_REF_NO3=value;

                    GetField("REF_NO3").Set();
                    GetField("REF_NO3").IsNull=(value == null);           
                    }
          }
		 public string REF_TRS_NO

          { 
                get { 
                    return m_REF_TRS_NO;}

                set{m_REF_TRS_NO=value;

                    GetField("REF_TRS_NO").Set();
                    GetField("REF_TRS_NO").IsNull=(value == null);           
                    }
          }
		 public double REMAIN_QTY

          { 
                get { 
                    return m_REMAIN_QTY;}

                set{m_REMAIN_QTY=value;

                    GetField("REMAIN_QTY").Set();
                    GetField("REMAIN_QTY").IsNull=(value == null);           
                    }
          }
		 public string TRS_DAT

          { 
                get { 
                    return m_TRS_DAT;}

                set{m_TRS_DAT=value;

                    GetField("TRS_DAT").Set();
                    GetField("TRS_DAT").IsNull=(value == null);           
                    }
          }
		 public string TRS_LINE_NO

          { 
                get { 
                    return m_TRS_LINE_NO;}

                set{m_TRS_LINE_NO=value;

                    GetField("TRS_LINE_NO").Set();
                    GetField("TRS_LINE_NO").IsNull=(value == null);           
                    }
          }
		 public string TRS_NO

          { 
                get { 
                    return m_TRS_NO;}

                set{m_TRS_NO=value;

                    GetField("TRS_NO").Set();
                    GetField("TRS_NO").IsNull=(value == null);           
                    }
          }
		 public string TRS_OPTR

          { 
                get { 
                    return m_TRS_OPTR;}

                set{m_TRS_OPTR=value;

                    GetField("TRS_OPTR").Set();
                    GetField("TRS_OPTR").IsNull=(value == null);           
                    }
          }
		 public string TRS_TIM

          { 
                get { 
                    return m_TRS_TIM;}

                set{m_TRS_TIM=value;

                    GetField("TRS_TIM").Set();
                    GetField("TRS_TIM").IsNull=(value == null);           
                    }
          }
		 public double TRS_TOTAL

          { 
                get { 
                    return m_TRS_TOTAL;}

                set{m_TRS_TOTAL=value;

                    GetField("TRS_TOTAL").Set();
                    GetField("TRS_TOTAL").IsNull=(value == null);           
                    }
          }
		 public string TYPE

          { 
                get { 
                    return m_TYPE;}

                set{m_TYPE=value;

                    GetField("TYPE").Set();
                    GetField("TYPE").IsNull=(value == null);           
                    }
          }
		 public string WH_CODE

          { 
                get { 
                    return m_WH_CODE;}

                set{m_WH_CODE=value;

                    GetField("WH_CODE").Set();
                    GetField("WH_CODE").IsNull=(value == null);           
                    }
          }

}
}
